package com.nexus.service.sys.service.mapstruct;

import com.nexus.core.service.mapstruct.BaseConverter;
import com.nexus.core.service.mapstruct.TreeConverter;
import com.nexus.core.sys.entity.SysMenu;
import com.nexus.core.sys.dto.SysMenuDTO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

/**
 *  SysMenuWrapper
 * @author 路正宁
 * @version 2023-03-21
 */
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE, uses = {})
public interface SysMenuWrapper extends TreeConverter<SysMenu,SysMenuDTO> {

    SysMenuWrapper INSTANCE = Mappers.getMapper(SysMenuWrapper.class);

    // SysMenu toEntity(SysMenuDTO dto);
    //
    //
    // SysMenuDTO toDTO(SysMenu entity);
}

